package com.zbs.simbot.enums;

import lombok.Getter;

public enum MsgType {
    ALL(-1,"所有消息"),
    GROUP(0,"群消息"),
    FRIEND(1,"好友消息"),
    PRIVATE(2,"群私聊消息"),
    PRIVATE_AND_FRIEND(3,"好友消息+群私聊消息"),
    ;
    @Getter
    private final Integer type;
    private final String desc;

    MsgType(Integer type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public String getStatus() {
        return desc;
    }
}
